package at.fpmedv.eclipse.helma.core;

import helma.framework.repository.Resource;

import java.util.ArrayList;

/**
 * interface for all "branches" (non leafes)
 * 
 * @author fpm
 */
public interface ITreeParent extends ITreeObject {
	
	/**
	 * getter for the children
	 * @return Array of children
	 */
	public ITreeObject[] getChildren();

	/**
	 * if this element has children
	 * 
	 * @return true or false
	 */
	public boolean hasChildren();
	
	/**
	 * getter for File Resources
	 * @return
	 */
	public ArrayList<Resource> getResources();
}
